package com.atguigu.servicebase.exceptionhandler;

/*
 * @ClassName GuliException
 * @author  忘忧君
 * @Description
 * @Version 1.0
 */

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor     // 有参构造方法
@NoArgsConstructor      // 无参构造方法
public class GuliException extends RuntimeException{

    @ApiModelProperty(value = "状态码")
    private Integer code;

    private String msg;
}
